<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/view/common/includes.jsp" %>
<%@ include file="/WEB-INF/view/inc.jsp" %>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<script type="text/javascript">


</script>


<div class="dialog_form">
    <form id="fm" method="post" action="<%=contextPath%>/demo/saveAndUpdate">
        <input type="hidden" name="id" value="${demo.id}"/>

        <div class="dialog_item">
            <label>姓名:</label>
            <input  name="name" class="easyui-textbox" required="true"
                   validType="length[1,20]" value="${demo.name}" />
        </div>
        <div class="dialog_item">
            <label>年龄:</label>
            <input name="age" class="easyui-numberbox" validType="length[1,1000]" value="${demo.age}" />
        </div>
        <div class="dialog_item">
            <label>备注:</label>
            <input name="remark" class="easyui-textbox" validType="length[1,1000]" value="${demo.remark}" />
        </div>
    </form>
</div>
</body>
</html>
